<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<% 
String path = request.getContextPath(); 
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 
String name = request.getParameter("uname");
String pass = request.getParameter("upass");//用request得到
session.setAttribute("username",name); 
session.setAttribute("password",pass); 
%> 
<html>

	<head>
		<meta charset="utf-8">
		<title>中国中铁工程设计咨询集团生产调度指挥系统</title>
		<link rel="shortcut icon" href="favicon.ico">
        <link rel="icon" href="favicon.ico">
		<link rel="stylesheet" type="text/css" href="css/main.css">
        <link rel="stylesheet" type="text/css" href="css/logon.css">
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">

		<link rel="stylesheet" href="plugins/layui/css/layui.css" media="all" />
		<link rel="stylesheet" href="css/global.css" media="all">
		<link rel="stylesheet" href="plugins/font-awesome/css/font-awesome.min.css">		
	</head>

	<body>
		<div class="layui-layout layui-layout-admin">
			<div class="layui-header header header-demo">
				<div class="layui-main">
					<div class="admin-login-box">
					<a href="index.jsp">
					<img src="images/logo.png" style="margin-top:10px;"/>
				    </a>
					</div>
									
				</div>
			</div>
			<div class="layui-side layui-bg-black" id="admin-side">
				<div class="layui-side-scroll" id="admin-navbar-side" lay-filter="side">
                <div style="padding: 60px 5px 15px 10px; border: 0px solid rgb(221, 221, 221); border-image: none; width: 240px; height: 510px; overflow: auto; display: inline-block;">
                <ul id="demo1"></ul>
                </div>

				</div>
			</div>
			<div class="layui-body" style="bottom: 0;border-left: solid 2px #1AA094;" id="admin-body">
				<div class="layui-tab admin-nav-card layui-tab-brief" lay-filter="admin-tab">
					<ul class="layui-tab-title">
						<li class="layui-this">
							<i class="fa fa-dashboard" aria-hidden="true"></i>
							<cite>首页</cite>
						</li>
					</ul>
					<div class="layui-tab-content" style="min-height: 150px; padding: 5px 0 0 0;">
						<div class="layui-tab-item layui-show">
							<iframe src="jk.jsp"></iframe>
						</div>
					</div>
				</div>
			</div>
			
			
			
			
			
			<!--锁屏模板 end -->
			
			<script type="text/javascript" src="plugins/layui/layui.js"></script>
			<script src="js/index.js"></script>
		
			

<script>
//Demo
layui.use(['tree', 'layer'], function(){

  //生成一个模拟树
  var createTree = function(node, start){
    node = node || function(){
      var arr = [];
      for(var i = 1; i < 10; i++){
        arr.push({
          name: i.toString().replace(/(\d)/, '$1$1$1$1$1$1$1$1$1')
        });
      }
      return arr;
    }();
    start = start || 1;  
    layui.each(node, function(index, item){  
      if(start < 10 && index < 9){
        var child = [
          {
            name: (1 + index + start).toString().replace(/(\d)/, '$1$1$1$1$1$1$1$1$1')
          }
        ];
        node[index].children = child;
        createTree(child, index + start + 1);
      }
    });
    return node;
  };
});
</script>


		</div>
	</body>

</html>